<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="css/style.css" rel="stylesheet" type="text/css"  />
        <script type="text/javascript" src="./js/jquery.easing.1.3.js"></script>
        <script type="text/javascript" src="./js/cargarCombo.js"></script>
        <script type="text/javascript" src="./js/jquery-latest.js"></script>
        <link rel="stylesheet" href="css/thickbox.css" type="text/css" />
        <script type="text/javascript" src="./js/thickbox.js"></script>
        <script type="text/javascript" src="./js/validarFormularioMarcadores.js"></script>
        <title>Alta Marcador</title>
    </head>

    <body onload="cargarMenu('N');">
        <center>
            <fieldset>
                <legend>Nuevo Marcador</legend>
                <form name="frmmarcador" method="post" enctype="multipart/form-data" action="index.php?accion=addMarcador">

                    <table id="TablaMarcador" align="center">
                        <tr>
                            <td>
                                <label>Categoria:</label>
                            </td>
                            <td>
                                <select id="buscarMenu" name="idmenu" onchange="javascript:cargarSubmenu()">

                                </select>
                            </td>
                        </tr>
                        <tr id="Submenu">
                            <td>
                                <label>Sub-Categoria/item:</label>
                            </td>
                            <td>
                                <select id="buscarSubMenu" name="idsubmenu" onchange="javascript:cargarItems()">

                                </select>
                            </td>
                        </tr>
                        <tr id="trItem">
                            <td>
                                <label>item</label>
                            </td>
                            <td>
                                <select id="buscarItem" name="iditem">

                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Titulo:</label>
                            </td>
                            <td>
                                <input type="text" name="titulo1" id="titulo"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>latitud:</label>
                            </td>
                            <td>
                                <input type="text" name="latitud" id="latitud"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>longitud:</label>
                            </td>
                            <td>
                                <input type="text" name="longitud" id="longitud"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Imagen:</label>
                            </td>
                            <td>
                                <input type="file" name="imagen" accept="image" id="imagen"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Icono:</label>
                            </td>
                            <td>
                                <input type="file" name="icono1" accept="image" id="icono"/>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>Contenido:</label>
                            </td>
                            <td>
                                <textarea cols="20" rows="3" name="contenido" id="contenido">

                                </textarea>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label>URL:</label>
                            </td>
                            <td>
                                <input type="text" name="url" id="url"/>
                            </td>
                        </tr>
                    </table><br/><br/>

                    <input type="button" name="btnregresar" value=":: REGRESAR ::" onclick="javascript:self.parent.tb_remove('M');" />
                    <input type="button" name="btngrabar" value=":: GRABAR ::" onclick="javascript:validarFormMarcador();"/><br/><br/>
                </form>
            </fieldset>
        </center>
    </body>
</html>